Package com.netscape.cmscore.extensions
Class KeyUsage
java.lang.Object
com.netscape.certsrv.extensions.CMSExtension
com.netscape.cmscore.extensions.KeyUsage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final boolean[]
static org.slf4j.Logger
Fields inherited from class com.netscape.certsrv.extensions.CMSExtension
EXT_IS_CRITICAL, EXT_PREFIX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.mozilla.jss.netscape.security.x509.Extension
getExtension
(ArgBlock args) Get an instance of the extension given http input.getFormParams
(org.mozilla.jss.netscape.security.x509.Extension extension) Get Javascript name value pairs to put into the request processing template.getName()
Get name of this extension.org.mozilla.jss.netscape.security.util.ObjectIdentifier
getOID()
Get object identifier associated with this extension.void
init
(ConfigStore config) initialize from configuration file
-
Field Details
-
logger
public static org.slf4j.Logger logger -
DEF_BITS
protected static final boolean[] DEF_BITS
-
-
Constructor Details
-
KeyUsage
public KeyUsage(boolean setDefault)
-
-
Method Details
-
init
Description copied from class:CMSExtension
initialize from configuration file- Specified by:
init
in classCMSExtension
- Throws:
EBaseException
-
getName
Description copied from class:CMSExtension
Get name of this extension.- Specified by:
getName
in classCMSExtension
- Returns:
- the name of this CMS extension, for
-
getOID
public org.mozilla.jss.netscape.security.util.ObjectIdentifier getOID()Description copied from class:CMSExtension
Get object identifier associated with this extension.- Specified by:
getOID
in classCMSExtension
-
getExtension
public org.mozilla.jss.netscape.security.x509.Extension getExtension(ArgBlock args) throws EBaseException Description copied from class:CMSExtension
Get an instance of the extension given http input.- Specified by:
getExtension
in classCMSExtension
- Returns:
- an instance of the extension.
- Throws:
EBaseException
-
getFormParams
public ArgBlock getFormParams(org.mozilla.jss.netscape.security.x509.Extension extension) throws EBaseException Description copied from class:CMSExtension
Get Javascript name value pairs to put into the request processing template.- Specified by:
getFormParams
in classCMSExtension
- Returns:
- name value pairs
- Throws:
EBaseException
-